<% if (!_.isUndefined(appointment.distanceEligibleConfirmed)) { %>
Date and Time: <%- moment(appointment.appointmentTime).format('dddd, MM/DD/YYYY') %>
<%- moment(appointment.appointmentTime).format('HHmm') %> <% if (!_.isUndefined(appointment.timeZone)) { %> <%- appointment.timeZone.substring(appointment.timeZone.length - 3, appointment.timeZone.length) %> <% } %>
Details: Community Appointment
<% if(appointment.providerPractice !== '') { %> <%- appointment.providerPractice %>
<% } %> <% if (appointment.name.firstName !== '' && appointment.name.lastName !== '') { %> <%- appointment.name.firstName %> <%- appointment.name.lastName %>
<% } %> <%- appointment.address.street %>
<%- appointment.address.city %>, <%- appointment.address.state %> <%- appointment.address.zipCode %>
<%- appointment.providerPhone %>
Need to cancel or update this appointment?
Please contact the provider directly
<% } else { %> <% var appointmentDateTime = moment(appointment.appointmentTime) %>
Date and Time: Date: <%- appointmentDateTime.format('dddd, MM/DD/YYYY') %>
Time: <%- appointmentDateTime.format('HHmm').split('').join(' ') %>
Details: <%- appointment.clinic.friendlyName %>
<% if (appointment.clinic.clinicFriendlyName) { %> <%- appointment.clinic.clinicFriendlyName %>
Also called: <%- appointment.clinic.name %>
<% } else { %> <%- appointment.clinic.name %>
<% } %>
Please arrive 30 minutes before your scheduled time unless otherwise directed. VA Facility Locator
<% if (!_.isEmpty(appointment.bookingNote)) { %>
Reason for Appointment: <%- appointment.bookingNote %>
<% } %>
<% } %> T